@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="accidentProcessInfoForm">

            <input type="hidden" id="id" value="${item.id}">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="main" name="主体" underline="true"
                            readonly="readonly" value="${item.main}"
                            clickFun="AccidentProcessInfoDlg.showPositionStatementSelectTree(); return false;"
                            style="background-color: #ffffff !important;"
                            selectFlag="true" selectId="parentTreeDiv" selectTreeId="parentTree" selectStyle="width:244px !important;"/>
                    <#input id="mproperty" name="主体属性" value="${item.mproperty}" underline="true" />
                    <#input id="mmotion" name="主体动作" value="${item.mmotion}" underline="true"/>
                    <#input id="object" name="客体" value="${item.object}" underline="true"/>
                </div>

                <div class="col-sm-6">
                    <#input id="oproperty" name="客体属性" value="${item.oproperty}" underline="true"/>
                    <#input id="omotion" name="客体动作" value="${item.omotion}" underline="true" />
                    <#input id="typeName" name="分组" underline="false" readonly="readonly" hidden="typeId"
                    hiddenValue="${item.typeId}" value="${typeName}"
                    clickFun="AccidentProcessInfoDlg.showAccidentGroupSelectTree(); return false;"
                    style="background-color: #ffffff !important;" underline="true"/>
                </div>

                <!-- 这是事故类型选择的下拉框 -->
                <div id="menuContent" class="menuContent"
                     style="display: none; position: absolute; z-index: 200;">
                    <ul id="treeDemo" class="ztree tree-box" style="width: 249px !important;"></ul>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check"
                    clickFun="AccidentProcessInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
                    clickFun="AccidentProcessInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/yjya/accidentProcess/accidentProcess_info.js"></script>
@}
